home *** CD-ROM | disk | FTP | other *** search
/ 500 MB Nyheder Direkte fra Internet 9 / 500 MB nyheder direkte fra internet CD 9.iso / start / zipped / dos / bbs / spitfire.rec < prev    next >
Text File  |  1996-01-03  |  12KB  |  315 lines

  1.  
  2.     There is certain information that is required for those interested
  3. in writing utilities and other third party type programs for SPITFIRE.
  4. Listed below are the Turbo Pascal record types that SPITFIRE uses.
  5.  
  6.     When a caller goes through a Door or uses any of the Sysop
  7. configurable features from each menu, SPITFIRE creates a simple
  8. text file named SFDOORS.DAT, SFMAIN.DAT, SFMESS.DAT or SFFILE.DAT in
  9. the SPITFIRE HOME directory.  This text file contains necessary
  10. information for the caller to return to SPITFIRE.  The text file is
  11. erased when control is returned to SPITFIRE.  The following page
  12. contains a list of the information written to each line of the text
  13. file:
  14.  
  15. Global record structure for SPITFIRE version 3.51.
  16. Copyright 1996, Buffalo Creek Software - All rights reserved.
  17.  
  18. Buffalo Creek Software
  19. 913 - 39th Street
  20. West Des Moines, Iowa 50265
  21.  
  22. (* SFDOORS.DAT *)
  23. User Number (* the record number in SFUSERS.DAT of the caller       *)
  24. User Name   (* the full name of the caller                          *)
  25. Password    (* the password of the caller                           *)
  26. First Name  (* the first name of the caller                         *)
  27. Baud Rate   (* baud rate of the caller - i.e. 2400 { 0 if local }   *)
  28. Comm port   (* COMM port being used by SPITFIRE                     *)
  29. Time Left   (* number of minutes the caller has left this log-on    *)
  30. Time        (* number seconds since midnight when entering the door *) 
  31. Path        (* the path in which SPITFIRE.EXE resides {C:\SF\}      *)
  32. Ansi_On     (* TRUE if caller is using ANSI else FALSE              *)
  33. SecLevel    (* the security level of the caller                     *)
  34. Uploads     (* the number of uploads the caller has made            *)
  35. Downloads   (* the number of downloads the caller has made          *)
  36. This Time   (* total number of minutes allowed for this call        *)
  37. Time On     (* number of seconds since midnight when logged on      *)
  38. Extra Time  (* number of seconds the caller has gained since log-on *)
  39. Sysop Next  (* TRUE if Sysop next feature has been activated        *)
  40. Front End   (* TRUE if SPITFIRE was booted from a front end program *)
  41. No DTE Lock (* TRUE if configured for Software Data Flow Control    *)
  42. MaxBaud     (* maximum baud of the system                           *)
  43. ErrCorrect  (* TRUE if error correction connection                  *)
  44. LastMConf   (* last message conference                              *)
  45. LastFArea   (* last file area                                       *)
  46. Node Number (* Node on which the caller is logged                   *)
  47. DLs Per Day (* Number of files allowed to be downloaded per day     *)
  48. DLs Today   (* Number of files the caller has downloaded this day   *)
  49. Daily Bytes (* Number of downloadable bytes per day                 *)
  50. Bytes Today (* Number of bytes the caller has downloaded this day   *)
  51. TotalUK     (* Number of K bytes uploaded by the caller             *)
  52. TotalDK     (* Number of K Bytes downloaded by the caller           *)
  53. Phone #     (* The callers phone number                             *)
  54. City/State  (* The callers city and state                           *)
  55. Log On Time (* Number of minutes allowed per day                    *)
  56. RIP_On      (* TRUE if caller is using RIP Graphics else FALSE      *)
  57. Page Status (* TRUE if caller has <P>aged the Sysop                 *)
  58. Chat Time   (* Number of minutes allowed per chat                   *)
  59. IRQ         (* IRQ being used                                       *)
  60. Sub Date    (* The callers subscription date                        *)
  61.  
  62.  
  63. TYPE
  64.   PrivSecArray  = Array[1..5] Of Integer;
  65.   UserDefaults  = (HotKey,Reserved,Pause);
  66.  
  67. (* SFMSG[x].PTR *)
  68. MessagePtr    = Record
  69.                   MDate            : String[17];
  70.                   FromWho,
  71.                   ToWho,
  72.                   OrgTo            : String[30];
  73.                   Subject          : String[40];
  74.                   NetMail,
  75.                   MsgSent,
  76.                   Available,
  77.                   ThreadMsg,
  78.                   ThreadStart,
  79.                   Private,Deleted,
  80.                   Received         : Boolean;
  81.                   Where,
  82.                   NumberofRecords  : Word;
  83.                   Conference       : Integer;
  84.                   MsgNumber,
  85.                   OrgMsgNumber     : LongInt;
  86.                   QWK_ID           : String[8];
  87.                   QWK_Delete_Org   : Boolean;
  88.                   DupChkCRC        : LongInt;
  89.                   FireNetReserved  : Array[0..26] Of Char;
  90.                   NetRoute         : String[16];
  91.                   Extra            : Array[0..23] Of Byte;
  92.                 End;
  93.  
  94. (* SFMSG[x].IDX *)
  95. MessageIdx    = Record
  96.                   FromWhoCRC,
  97.                   ToWhoCRC,
  98.                   MsgNumber,
  99.                   OrgMsgNumber : LongInt;
  100.                 End;
  101.  
  102. (* SFMSG[x].DAT *)
  103. MessageBody   = Record
  104.                   MsgData : String[127];
  105.                 End;
  106.  
  107. (* SFFAREA.DAT *)
  108. FileSystem    = Record
  109.                   FSec          : Integer;
  110.                   FDesc         : String[40];
  111.                   FilePath,
  112.                   UploadPath    : String[60];
  113.                   ShowToAll,
  114.                   FEqual,
  115.                   CDRom,
  116.                   SearchArea,
  117.                   FreeDLArea    : Boolean;
  118.                   PrivSec       : PrivSecArray;
  119.                   Extra         : Array[1..76] Of Byte;
  120.                 End;
  121.  
  122. (* SFMCONF.DAT *)
  123. MsgSystem     = Record
  124.                   MSec           : Integer;
  125.                   NetMailConf    : Boolean;
  126.                   MDesc          : String[40];
  127.                   MEqual,
  128.                   PublicMsgConf,
  129.                   AllowDelete,
  130.                   PackUnReceived : Boolean;
  131.                   DaysOld        : Word;
  132.                   DelOldThdMsg   : Boolean;
  133.                   NoOfLines      : Word;
  134.                   OneExtra       : Boolean;
  135.                   PrivSec        : PrivSecArray;
  136.                   MsgEntrySec    : Word;
  137.                   Extra          : Array[1..44] Of Byte;
  138.                   AllowNetRoute,
  139.                   MarkAsSent     : Boolean;
  140.                   NetIDName      : String[15];
  141.                 End;
  142.  
  143. (* SFMSG[X].LMR *)
  144. LastMessage   = Record
  145.                   LMsgRed : LongInt;
  146.                 End;
  147.  
  148. (* SFUSERS.PTR *)
  149. UsersPtr      = Record
  150.                   Name : String[30];
  151.                 End;                  
  152.  
  153. (* SFUSERS.DAT *)
  154. Users         = Record
  155.                   UserName,
  156.                   CallingFrom      : String[30];
  157.                   Password,
  158.                   TimeDate         : String[14];
  159.                   PhoneNumber      : String[12];
  160.                   BirthDate        : String[8];
  161.                   SecurityLevel    : Integer;
  162.                   Uploads,
  163.                   Downloads,
  164.                   TotalUK,
  165.                   TotalDK          : LongInt;
  166.                   TimesOn,
  167.                   TimeLeft,
  168.                   Last_M_Conf,
  169.                   Last_F_Area,
  170.                   TransPro         : Integer;
  171.                   Defaults         : Set Of UserDefaults;
  172.                   FirstLogDate     : String[8];
  173.                   SubscriptionDate : LongInt;
  174.                   ConfQueue        : Array[0..97] Of Byte;
  175.                   QWK_BBS_ID       : String[8];
  176.                   AllowPurge,
  177.                   BadLastOff,
  178.                   ScrollBack,
  179.                   Xpert,
  180.                   LockedOut,
  181.                   Deleted          : Boolean;
  182.                   Linelen,
  183.                   Pagelen,
  184.                   OnToday,
  185.                   Illegal,
  186.                   DLToday,
  187.                   ForeGround,
  188.                   FreeDLToday      : Byte;
  189.                   ChatsAllowed     : Byte;
  190.                   DLBytes          : LongInt;
  191.                   NewFCheck        : String[8];
  192.                   OrgSecurity      : Integer;
  193.                   ChatsUsed,
  194.                   ExtraByte        : Byte;
  195.                   FileStr          : String[12];
  196.                   FileArea         : Word;
  197.                   DeleteFile       : Boolean;
  198.                   MsgsLeft         : Word;
  199.                   Extra            : Array[1..3] Of Byte;
  200.                 End;
  201.  
  202. (* SFEVENTS.DAT *)
  203. EventSchedule = Record
  204.                   Active    : Byte;
  205.                   DoneToday : Boolean;
  206.                   Time      : Real;
  207.                   WhichDay  : Byte;
  208.                 End;
  209.  
  210. (* SFSYSTEM.DAT *)
  211. SysRec        = Record
  212.                   NoInputTime       : Byte;
  213.                   CallsToday,
  214.                   MsgToday,
  215.                   UpToday,
  216.                   DownToday,
  217.                   DailyLimit,
  218.                   DailyLogons,
  219.                   LogonLimit,
  220.                   SysopSecurity,
  221.                   NUS,
  222.                   NUTL              : Word;
  223.                   UpDskSpace        : LongInt;
  224.                   MaxUsers          : Word;
  225.                   FileDescAmt       : Byte;
  226.                   SrchRomSFFILE     : Boolean;
  227.                   DoorsAmt          : Integer;
  228.                   Callernum         : LongInt;
  229.                   LastDate          : String[8];
  230.                   StartDate         : String[18];
  231.                   DOSPassword       : String[28];
  232.                   SysopName,
  233.                   SysMsgName        : String[30];
  234.                   USPhone,
  235.                   ConvertDesc,
  236.                   HeySysop,
  237.                   AddUpedBy,
  238.                   CommentQue        : Boolean;
  239.                   NumberOfNodes,
  240.                   NUCallers2Day     : Byte;
  241.                   BootUpTests,
  242.                   ScanAllMsg,
  243.                   OfferDefault      : Boolean;
  244.                   ViolationSec      : Integer;
  245.                   NUBirthDate,
  246.                   CompFileSrch,
  247.                   DrRetPassword,
  248.                   RIPAvailable,
  249.                   UseIntl,
  250.                   MandatoryMsgScan,
  251.                   ShowCommandLines  : Boolean;
  252.                   DefaultANSIColor  : Byte;
  253.                   ExtraBytes        : Array[0..81] Of Byte;
  254.                 End;
  255.  
  256. (* SFWHOSON.DAT *)
  257. NodesDat      = Record
  258.                   UserNo : Integer;
  259.                   Mode   : Char;
  260.                   DBytes : Array[1..3] Of Byte;
  261.                 End;
  262.  
  263. (* SFNODE.DAT *)
  264. NodeSysRec    = Record
  265.                   DirectScrn,
  266.                   ShowResult    : Boolean;
  267.                   RAMDrive      : Char;
  268.                   PrinterOn,
  269.                   AnsiAvl,
  270.                   Private,
  271.                   SecondPassword,
  272.                   Page_On       : Boolean;
  273.                   MinimumBaud   : Word;
  274.                   MsgInfo,
  275.                   NewFileInfo,
  276.                   SoftControl,
  277.                   DTR_Hangup    : Boolean;
  278.                   CorrectionMsg : String[3];
  279.                   WorkPath,
  280.                   DisplayPath,
  281.                   ExtranPath,
  282.                   MsgPath       : String[28];
  283.                   ModInitStr    : String[56];
  284.                   ComPort       : Word;
  285.                   RingNo,
  286.                   Node          : Byte;
  287.                   MaxBaud,
  288.                   ExtraLong     : LongInt;
  289.                   TimeComp      : Real;
  290.                   LastDate      : String[8];
  291.                   PrivateSec    : Integer;
  292.                   HangUpDelay   : Byte;
  293.                   UseHiSpeed,
  294.                   AvailBoolean  : Boolean;
  295.                   IRQ1,
  296.                   IRQ2,
  297.                   IRQ3,
  298.                   IRQ4,
  299.                   IRQ5,
  300.                   IRQ6,
  301.                   IRQ7,
  302.                   IRQ8          : Byte;
  303.                   BreakLen      : Word;
  304.                   FAXConnectMsg : String[7];
  305.                   PreInitStr    : String[6];
  306.                   SubChgSec     : Word;
  307.                   StartWarn     : Byte;
  308.                   ExtraBytes    : Array[0..3] Of Byte;
  309.                   ColorMonitor  : Boolean;
  310.                   OffHookStr    : String[6];
  311.                   ComBase       : Array[1..8] Of Word;
  312.                   AnswerStr     : String[30];
  313.                   NewExtra      : Array[0..201] Of Byte;
  314.                 End;
  315.